<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Squash Ladder: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'scaffold', 'tabs' %>
  <%= javascript_include_tag :defaults %>
</head>
<body>
  <% if logged_in? %>
    <h1><%= link_to h(current_user.login.capitalize) + '\'s Squash Ladder', user_path(current_user) %></h1>
  <% else %>
    <h1>Squash Ladder</h1>
  <% end %>
  <div id="content">

		<div id="flash_notice" style="display:none"><%= flash[:notice] %></div>
		
    <%= yield  %>
  </div>
  <br/>
</body>
</html>

